package com.example.hehecat.yuejian1.http;

import com.example.hehecat.yuejian1.mvp.model.bean.ActivityBean;
import com.example.hehecat.yuejian1.mvp.model.bean.ClubBean;
import com.example.hehecat.yuejian1.mvp.model.bean.UserBean;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;
import rx.Observable;

public interface HttpInterface {
     @GET("activity/atvlist")
    Observable<List<ActivityBean>> getAllActivity();

     @GET("club/clublist")
    Observable<List<ClubBean>> getAllClub();

    @GET("user/login")
    Call<UserBean> login(@Query("username") String username,
                         @Query("password") String password);

}

